package university.dropcourse.dto;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;


/**
 * Generated class university.dropcourse.dto.StudenteDto
 */
@XmlRootElement(name="studente")
public class StudenteDto extends Dto implements Serializable {

    private static final long serialVersionUID = 1L;
    
    String cognome;

    List<Integer> corsiIds = new ArrayList<Integer>();

    String email;

    Integer id;

    String matricola;

    String nome;

    String password;


    public StudenteDto() { super(); }


    public String getCognome() {
        return this.cognome;
    }

    public void setCognome(String cognome) {
        this.cognome = cognome;
    }

    @XmlElementWrapper(name="corsi")
    @XmlElement(name="id")
    public List<Integer> getCorsiIds() {
        return this.corsiIds;
    }

    public void setCorsiIds(List<Integer> corsiIds) {
        this.corsiIds = corsiIds;
    }

    public String getEmail() {
        return this.email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Integer getId() {
        return this.id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getMatricola() {
        return this.matricola;
    }

    public void setMatricola(String matricola) {
        this.matricola = matricola;
    }

    public String getNome() {
        return this.nome;
    }

    public void setNome(String nome) {
        this.nome = nome;
    }

    public String getPassword() {
        return this.password;
    }

    public void setPassword(String password) {
        this.password = password;
    }


}